package sample11;

public class Main {

	public static void main(String[] args) {

		AbstractPerson p1 = new Student(20, "山田太郎", "foxnet");
		p1.showProfile();

		AbstractPerson p2= new Worker(25, "佐藤裕也", "foxnet");
		p2.showProfile();
	}
}
